public class Underscores {
    public static void main(String[] args) {
        int x = 1_000_000;
        double y = 1_234.5_678;
        System.out.println(x);
        System.out.println(y);

        int bin = 0b1111_1111;
        System.out.println(bin);
        System.out.println(Integer.toBinaryString(bin));

        long hex = 0x7f_e9_0b;
        System.out.println(hex);

    }
}
